package domain.model.project.support.projectid;

import domain.model.project.ProjectId;
import shared.model.BuilderObject;

/**
 * @author Gregory Boissinot
 */
public class ProjectIdBuilder implements BuilderObject<ProjectId> {

    private ProjectId projectId;

    public ProjectIdBuilder(String org, String name) {
        this.projectId = new ProjectIdImpl(org, name);
    }

    @Override
    public ProjectId build() {
        return this.projectId;
    }
}
